home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / vtype.zip / VTYPE.DOC < prev    next >
Text File  |  1986-09-09  |  3KB  |  59 lines

  1.  
  2.  ----------------------------------------------------------------------------
  3. | * VTYPE * An improved TYPE command for the IBM PC & PC-XT. V. Bly 12/12/83 |
  4.  ----------------------------------------------------------------------------
  5.  
  6. SUMMARY
  7. -------
  8.       VTYPE is an improved version of the MS-DOS TYPE command.  It provides
  9.   the new features listed below.
  10.      1 ... The ability to quickly pause the display by pressing a key.
  11.        The display may be restarted by pressing a key again.
  12.      2 ... The ability to cancel the displayed output at the end of the
  13.        current line by pressing the [Esc] key.
  14.      3 ... The ability to specify the number of spaces per tab in the
  15.        displayed output by following the filespec by a number between
  16.        1 and 20.  If you do not specify a number, the default value
  17.        of 8 spaces per tab stop will be used.
  18.      4 ... The ability, when using MS-DOS 2.0, of copying a text file
  19.        containing tabs to a new file with all tabs expanded to spaces.
  20.  
  21.       The format for the VTYPE command is:
  22.                        VTYPE filespec [tab expansion]
  23.  
  24. EXAMPLES
  25. --------
  26.       The following examples assume that the file VTYPE.EXE is on the
  27.   default disk drive.  Note that "<enter>" means that you should press
  28.   the enter/return key after typing the command.
  29.  
  30.   VTYPE MY.TXT <enter>
  31.     This command will simply display the text file "MY.TXT".  You can
  32.     pause the output by pressing a key (such as the <space> bar).  You
  33.     can then restart the display by pressing a key (such as the <space>
  34.     bar) again, or cancel the output by pressing the [Esc] key.
  35.  
  36.   VTYPE MYPROG.C 4 <enter>
  37.     This command will display the text file "MYPROG.C".  However, any
  38.     tabs in the file will be expanded to 4 spaces per tab stop rather
  39.     than the normal 8 spaces per tab.
  40.  
  41.   VTYPE MYPROGA.C 6>MYPROGB.C <enter>
  42.     This command will copy the text file "MYPROGA.C" to the new file
  43.     "MYPROGB.C".  Any tabs in the file "MYPROGA.C" will be expanded
  44.     to 6 spaces per tab stop in the new file "MYPROGB.C".  Of course,
  45.     this command can only be used with MS-DOS 2.0 or later, since it
  46.     uses redirection.
  47.  
  48. NOTES
  49. -----
  50.       When redirecting the output of VTYPE to a disk file under MS-DOS 2.0,
  51.  the End-OF-File termination will be slightly different than normal.  This
  52.  will not usually be a problem; however, some text handling programs, such
  53.  as the VEDIT editor, may display a string of "^@"s at the end of the file.
  54.  If you encounter this, simply delete the string of "^@"s and re-save the
  55.  file.
  56.  
  57.       Please send your comments to:  Vincent Bly
  58.                      Post Office Box 409
  59.                      Ft. Belvoir, VA  22060